.interlude-container {
  background-image: url(/static/images/bgMain2.png);
  background-size: contain;
  background-position: top;
  background-color: #f3f5f6;
  height: 100vh;
}

// 用户信息区
.user-info-container {
  display: flex;
  width: 100%;
  max-width: 100%;
  color: #ffffff;
  margin-bottom: 15px;
  justify-content: space-between;
  padding: 15rpx 20rpx;
  /* 增加内边距 */
  align-items: center;

  /* 垂直居中对齐 */
  .name-display {
    font-size: 36rpx;
    /* 增大姓名字体 */
    font-weight: bold;
    /* 加粗姓名 */
    color: #ffffff;
    /* 确保文字为白色 */
  }

  .info-value {
    font-size: 30rpx;
    /* 日期信息字体稍小 */
    color: #ffffff;
    /* 确保文字为白色 */
    text-align: right;
    /* 右对齐 */
  }
}

/* 中心圆形命盘 */
.destiny-chart-container {
  display: flex;
  position: relative;
  height: 45vh;
  margin-bottom: 10px;

  .destiny-chart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    .chart-circle {
      width: 600rpx;
      height: 600rpx;
      border-radius: 50%;
      /* 修改为透明背景，只保留边框 */
      background-color: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      /* 确保转盘背景不超出圆形边界 */

      /* 转盘背景图 */
      .turntable-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        object-fit: cover;
        /* 确保图片覆盖整个容器 */
      }

      &:before {
        content: "";
        position: absolute;
        top: -10rpx;
        left: -10rpx;
        right: -10rpx;
        bottom: -10rpx;
        border: 1rpx solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        z-index: 0;
      }

      .chart-center {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        .chart-center-name {
          position: relative;
          background-image: url(/static/images/centercir.png);
          background-size: 100% 100%;
          color: #d9301e;
          width: 90rpx;
          height: 90rpx;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 20rpx;
          .chart-center--time {
            position: absolute;
            bottom: -17px;
            color: #fff;
            font-size: 11px;
          }
        }

      }

    }
  }

  /* 旋转动画 */
  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  .rotating {
    animation: rotate 15s linear infinite;
  }

  .corner-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; // 让点击穿透到下层元素

    // 修改角落图标容器样式
    .corner-item {
      position: absolute;
      display: flex;
      flex-direction: column;
      align-items: center;
      z-index: 2;
    }

    // 六边形图标样式
    .corner-image {
      width: 120rpx;
      height: 120rpx;
      clip-path: polygon(50% 0%,
          100% 25%,
          100% 75%,
          50% 100%,
          0% 75%,
          0% 25%); // 创建六边形
      object-fit: cover;
      background-image: url(/static/images/rhombusN.png);  
      background-size: 100% 100%;
      margin-bottom: 10rpx; // 图片和文字之间的间距
    }
    .rhombus{
      background-image: url(/static/images/rhombus.png);
      background-size: 100% 100%;
      color: #df382f;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: bold;
    }

    .corner-label {
      font-size: 28rpx;
      color: #ffffff;
      font-weight: bold;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); // 给文字添加阴影以提高可读性
    }
  }

  // 角落定位
  .top-left {
    top: 20rpx;
    left: 20rpx;
  }

  .top-right {
    top: 20rpx;
    right: 20rpx;
  }

  .bottom-left {
    bottom: 20rpx;
    left: 20rpx;
  }

  .bottom-right {
    bottom: 20rpx;
    right: 20rpx;
  }
}

// tabs
.feature-section {
  width: 100%;
  border-radius: 16rpx;
  padding: 30px 10px 30px;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
  display: flex;

  .tabs-container {
    width: 100%;

    .tabs-row {
      display: flex;
      justify-content: space-around;

      .tab {
        font-size: 13px;
        color: #3a3939;
        cursor: pointer;
        position: relative;

        &.active {
          color: #de3531;
        }
      }
    }

    .tab-content {
      margin: 20px 15px 30px;
      padding: 20px;
      border: dashed 1px #febd87;
      border-radius: 15px;

      .progress-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
      }

      .red-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #f44336;
        margin-right: 10px;
        flex-shrink: 0;
      }
    }

    .check {
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #4caf50;
      font-weight: bold;
      flex-shrink: 0;
    }
  }
}

/* 最终结果转盘样式 */
.final-result {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(/static/images/bgMain2.png);
  background-size: contain;
  // background-position: bottom;

  .final-outer {
    position: absolute;
    width: 600rpx;
    height: 600rpx;
    z-index: 3;
  }
  .final-inner {
    position: absolute;
    width: 400rpx;
    height: 400rpx;
    z-index: 1;
  }
}

@keyframes rotate2 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotating2 {
  animation: rotate2 4s linear infinite;
}